package 饭后;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import 饭后.甜点.I饭后甜点;
import 饭后.配置.总Conf;

public class 吃饭后甜点Main {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(总Conf.class);

        I饭后甜点 甜点 = context.getBean(I饭后甜点.class);
        甜点.吃起来();
        context.close();
    }
}
